package com.wuyou.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 *
 * </p>
 *
 * @author cxy
 * @since 2022-09-29
 */
@TableName("tb_community")
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Accessors(chain = true)
public class Community implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "community_id", type = IdType.AUTO)
    private Long communityId;

    /**
     * 小区名称
     */
    private String communityName;

    /**
     * 物业公司
     */
    private String property;

    /**
     * 物业费
     */
    private BigDecimal propertyFee;

    /**
     * 小区地址
     */
    private String address;

    /**
     * 备用字段1
     */
    private String spare1;

    /**
     * 备用字段2
     */
    private String spare2;


}
